<template>
  <div class="app">

    <span>456</span>
    <span>{{ $route.params }}</span>
  </div>
</template>

<script>
export default {
  created() {
    const { key } = this.$route.params
    console.log(key)
  }
}
</script>

<style scoped>

</style>